package com.delu.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 保险表
 * </p>
 *
 * @author 6子的爹
 * @since 2021-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("insurance")
@ApiModel(value="Insurance对象", description="保险表")
public class Insurance implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "保险id")
    @TableId(value = "insur_id", type = IdType.AUTO)
    private Integer insurId;

    @ApiModelProperty(value = "保险名称")
    @TableField("insur_name")
    private String insurName;

    @ApiModelProperty(value = "保险价格")
    @TableField("insur_price")
    private BigDecimal insurPrice;

    @ApiModelProperty(value = "具体保险内容")
    @TableField("content")
    private String content;


}
